﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public class Prodect
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        public int m_ID { get ; set ; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string m_name { get; set; }
        /// <summary>
        /// 产品检验是否合格
        /// </summary>
        public bool m_IsOK { get; set; }
        /// <summary>
        /// 所属流水线编号->生成不同产品:1:相机|2.电池|3:屏幕
        /// </summary>
        public int m_Deptid { get; set; }

        /// <summary>
        /// 显示产品的信息
        /// </summary>
        public virtual void showInfo() { }
        /// <summary>
        /// 获取所属流水线的名称
        /// </summary>
        /// <returns></returns>
        public virtual string getDeptName() { return "NULL"; }

    }
}
